GtkStyleContext *context,
cairo_surface_t *orig_surface)
{
- if (!check_invalidate_surface (self, context))
- return;
-
- if (self->priv->rendered_surface)
- return;
-
self->priv->rendered_surface =
cairo_surface_reference (orig_surface);
GdkPixbuf *pixbuf, *stated;
int scale;
- if (!check_invalidate_surface (self, context))
- return;
-
- if (self->priv->rendered_surface)
- return;
-
if (get_pixbuf_size (self,
context,
orig_pixbuf,
{
gint scale;
- if (!check_invalidate_surface (self, context))
- return;
-
scale = get_scale_factor (self, context);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
GtkIconInfo *info;
GtkIconLookupFlags flags;
- if (!check_invalidate_surface (self, context))
- return;
-
icon_theme = gtk_icon_theme_get_for_screen (gtk_style_context_get_screen (context));
flags = get_icon_lookup_flags (self, context);
GtkIconSet *icon_set;
GIcon *gicon;
+ if (!check_invalidate_surface (self, context))
+ return self->priv->rendered_surface;
+
switch (gtk_image_definition_get_storage_type (self->priv->def))
{
case GTK_IMAGE_SURFACE: